
const APP_DEBUG = true;

const USER_TOKEN = 'user_token';

const TOKEN_ERROR_CODE = 7002;

const HOST_NAME = location.origin;
// const HOST_NAME = 'http://goat.me';

const API_PREFIX = '/api/admin';

const BASE_SERVICE = '/api/base-service';

const ADMIN_LOGIN = HOST_NAME + API_PREFIX + '/login';                 //登录

const PARTNER = HOST_NAME + API_PREFIX + '/partner';                       //合作伙伴相关

const CAROUSEL = HOST_NAME + API_PREFIX + '/homepage-banner';                //轮播图 

const ABOUT = HOST_NAME + API_PREFIX + '/about-us';                     //关于我们

const PRODUCT_CATEGORY = HOST_NAME + API_PREFIX + '/product-categories';   //产品分类相关

const PRODUCTION = HOST_NAME + API_PREFIX + '/production';    // 新增产品

const ARTICLE_CATEGORY = HOST_NAME + API_PREFIX + '/article-type';   //文章分类相关

const ARTICLE = HOST_NAME + API_PREFIX + '/article';                //新增文章

const UPLOAD_IMG = HOST_NAME + API_PREFIX + '/service/bos-img-upload';            //图片上传

const MULTI_UPLOAD_IMG = HOST_NAME + API_PREFIX + '/service/bos-img-upload-multi'; //批量图片上传

const VIDEO = HOST_NAME + API_PREFIX + '/video';            //视频专区

const DELETE_INFORMATION = HOST_NAME + API_PREFIX + '/delete-information';            //删除产品资料

export default {

    APP_DEBUG,

    USER_TOKEN,

    TOKEN_ERROR_CODE,

    ADMIN_LOGIN,

    PARTNER,

    CAROUSEL,

    ABOUT,

    PRODUCT_CATEGORY,

    PRODUCTION,

    ARTICLE_CATEGORY,

    ARTICLE,

    UPLOAD_IMG,

    MULTI_UPLOAD_IMG,

    VIDEO,

    DELETE_INFORMATION

};
